package org.jeecg.modules.achAchievementExam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.config.mybatis.TenantContext;
import org.jeecg.modules.common.baseentity.PublicBeanPage;
import org.jeecg.modules.common.utils.DateUtil;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ach_achievement_exam
 * @author: baochangrong
 * @Date:   2022-06-07
 * @Version: V1.0
 */
@Data
@TableName("ach_achievement_exam")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ach_achievement_exam对象", description="ach_achievement_exam")
public class AchAchievementExamDemo extends PublicBeanPage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**学生*/
	@Excel(name = "学生", width = 15,isColumnHidden = true)
    @ApiModelProperty(value = "学生")
    private String studentId;
    /**学生*/
    @Excel(name = "学生名称", width = 15)
    @ApiModelProperty(value = "学生名称")
    private java.lang.String studentName;
	/**考试*/
	@Excel(name = "考试", width = 15,isColumnHidden = true)
    @ApiModelProperty(value = "考试")
    private String examinationId;
    /**考试*/
    @Excel(name = "考试名称", width = 15)
    @ApiModelProperty(value = "考试名称")
    private java.lang.String examinationName;
	/**分数*/
	@Excel(name = "分数", width = 15)
    @ApiModelProperty(value = "分数")
    private Double achievementScore;
	/**成绩状态：1正常(默认) 2缺考 3作弊 4取消*/
	@Excel(name = "成绩状态：1正常(默认) 2缺考 3作弊 4取消", width = 15)
    @ApiModelProperty(value = "成绩状态：1正常(默认) 2缺考 3作弊 4取消")
    private String achievementStatus="1";
	/**考试日期*/
	@Excel(name = "考试日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "考试日期")
    private Date achievementDate=DateUtil.getCurrentDate();


}
